import { createRouter, createWebHistory } from 'vue-router'
import Interlocution from '@/views/interlocution/index.vue'
import Search from '@/views/search/index.vue'

const router = createRouter({
    history: createWebHistory(import.meta.env.BASE_URL),
    routes: [
        {
            path: '/',
            redirect: '/interlocution'
        },
        {
            path: '/interlocution',
            component: Interlocution
        },
        {
            path: '/search',
            component: Search
        }

    ]
})

export default router

